package com.jeejam.logistics.pojo;

import java.io.Serializable;

public class LogisticsResult implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1052661447467048895L;

	/**
	 * 消息体
	 */
	private String message;
	
	/**
	 * 数据集合
	 */
	private String data;
	
	/**
	 * 每条数据的时间
	 */
	private String time;
	
	/**
	 * 每条数据的状态
	 */
	private String context;
	
	/**
	 * 快递单当前的状态 。0：在途中,1：已发货，2：疑难件，3： 已签收 ，4：已退货。
	 */
	private String state;
	
	/**
	 * 查询的结果状态。0：运单暂无结果；1：查询成功；2：接口出现异常；
	 */
	private String status;

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "LogisticsResult [message=" + message + ", data=" + data
				+ ", time=" + time + ", context=" + context + ", state="
				+ state + ", status=" + status + "]";
	}

}
